/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ins.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.ins.entity.InsDashboard;
import com.thinkgem.jeesite.modules.ins.dao.InsDashboardDao;

/**
 * 仪表盘Service
 * @author fanqinglong
 * @version 2018-05-09
 */
@Service
@Transactional(readOnly = true)
public class InsDashboardService extends CrudService<InsDashboardDao, InsDashboard> {

	public InsDashboard get(String id) {
		return super.get(id);
	}
	
	public List<InsDashboard> findList(InsDashboard insDashboard) {
		return super.findList(insDashboard);
	}
	
	public Page<InsDashboard> findPage(Page<InsDashboard> page, InsDashboard insDashboard) {
		return super.findPage(page, insDashboard);
	}
	
	@Transactional(isolation = Isolation.DEFAULT,propagation = Propagation.REQUIRED,readOnly = false, rollbackFor = Exception.class)
	public void save(InsDashboard insDashboard) {
		super.save(insDashboard);
	}
	
	@Transactional(isolation = Isolation.DEFAULT,propagation = Propagation.REQUIRED,readOnly = false, rollbackFor = Exception.class)
	public void delete(InsDashboard insDashboard) {
		super.delete(insDashboard);
	}
	
	@Transactional(isolation = Isolation.DEFAULT,propagation = Propagation.REQUIRED,readOnly = false, rollbackFor = Exception.class)
	public void move(InsDashboard insDashboard){
		dao.move(insDashboard);
	}
}